var App = (function(App, $, _){

	'user strict';

	var reset = {};
	var moduleName = "reset";

	reset.clicked = function() {
		//App.trigger("startGame");

		currentGameState = gapi.hangout.data.getValue("gameState");
		if(currentGameState != "started"){
			gapi.hangout.data.setValue("gameState","started");
		}
	}

	reset.init = function() {
		if( App.isHost() === true) {
			console.log("You have reset privileges");
			$("#reset").click(reset.clicked);
			$("#cp-buttons").show();
			$("#ticket").width(472);
		} 
	};

	App.modules = App.hasOwnProperty("modules") ? App.modules : {};
	App.modules[moduleName] = reset;

	return App;

}(App || {}, $, _));